<div class="fancybox" id="loginbox" title="登录" style="display:none">
      <div id="loginbox-body">
        <form action="<?php echo site_url('/reg/login/'); ?>" method="POST">
          <h4>电子邮箱</h4>
          <p style="margin-bottom:10px"><input type="text" id="login-email" value="" class="forminput" maxlength="50" autocapitalize="off" title="" name="username"></p>
          
          <h4>密码</h4>
          <p style="margin-bottom:10px">
            <input type="password" class="forminput forminputpass" value="" id="login-pass" title="" name="password">
            <label><a id="forgot_password" href="#this">忘记密码?</a></label>
          </p>
          <p class="left"><input type="button" id="loginButton" value="登录" class="formbutton"></p>
          <hr class="clear">
        </form>
	</div><!-- end #loginbox-body -->
</div>
<div id="pw_reset" class="fancybox" title="忘记了密码？" style="display:none">
  <form action="<?php echo site_url('/reg/forgot_password/'); ?>" method="POST">
    <h4>找回邮箱</h4>
    <input type="text" value="" class="forminput" maxlength="50" autocapitalize="off" title="" name="login">
    <input type="button" value="找回" id="getpwback" class="formbutton" style="float:right">
    <hr class="clear">
  </form>
</div>

	<div id="footer">
      <div class="wrap">
        <div id="footer-menu">
          <h5>城市</h5>
          <ul>
          	<?php 
          		$foot_citys = $this->city->get_all_from_config();
          		foreach ($foot_citys as $city){
          	?>
          	<li><a href="<?php echo site_url('show/city/'.$city['city_id']); ?>"><?php echo $city['city']; ?></a></li>
          	<?php } ?>
          </ul>
        </div><!-- end #footer-menu -->
        
        <div id="footer-sitemap">
          <ul>
            <li><a href="<?php echo site_url(); ?>">首页</a></li>
            <li><a target="_blank" href="<?php echo site_url('show/cor'); ?>">商务合作</a></li>
            <li><a target="_blank" href="<?php echo site_url('show/submit_suggest'); ?>">意见反馈</a></li>
            <li><a target="_blank" href="<?php echo site_url('show/user_pro'); ?>">用户协议</a></li>
            <li><a target="_blank" href="http://t.sina.com.cn/1419137424">官方微博</a></li>
          </ul>
          <ul>
            <li><a target="_blank" href="<?php echo site_url('show/submit_site'); ?>">团购网站收录</a></li>
            <li><a target="_blank" href="<?php echo site_url('show/chance'); ?>">诚聘英才</a></li>
            <li><a target="_blank" href="<?php echo site_url('show/open_api'); ?>">开放API</a></li>
            <li><a target="_blank" href="<?php echo site_url('show/qa'); ?>">常见问题</a></li>
            <li><a target="_blank" href="<?php echo site_url('show/about_ttz'); ?>">关于<?php echo SITE_NAME; ?></a></li>
          </ul>
          <p>© 2011 ttz321.com</p>
          <p>京ICP备10056119号</p>
        </div><!-- end #footer-sitemap -->
        <div class="clear"></div>
      </div><!-- end .wrap -->
    </div><!-- end #footer -->
    
  </body>
</html>